//
//  UILabel+init.m
//  SinaVboc
//
//  Created by V on 29/11/2016.
//  Copyright © 2016 仁忄. All rights reserved.
//

#import "UILabel+init.h"

@implementation UILabel (init)

- (instancetype)initWithTitle:(NSString *)title titleSize:(CGFloat)titleSize titleColor:(UIColor *)titleColor {
    
    if (self = [super init]) {
        
        self.text = title;
        self.font = [UIFont systemFontOfSize:titleSize];
        self.textColor = titleColor;
        
        [self sizeToFit];
    }
    
    return  self;
}

@end
